﻿CREATE TABLE [dbo].[text_User] (
    [Id]      UNIQUEIDENTIFIER CONSTRAINT [DF_text_User_Id] DEFAULT (newid()) NOT NULL,
    [UserId]  UNIQUEIDENTIFIER NOT NULL,
    [Expired] DATETIME         NOT NULL,
    CONSTRAINT [PK_text_User] PRIMARY KEY CLUSTERED ([Id] ASC),
    CONSTRAINT [FK_text_User_user_User] FOREIGN KEY ([UserId]) REFERENCES [dbo].[user_User] ([UserId])
);

